﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Skynet.RadWeb.Administration
{
    public partial class ExamCategoriesMgm : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void gvCategories_SelectedIndexChanged(object sender, EventArgs e)
        {
            this.dvCategory.ChangeMode(DetailsViewMode.Edit);
        }

        protected void sdsWorkCategory_Inserting(object sender, SqlDataSourceCommandEventArgs e)
        {
            e.Command.Parameters["@Id"].Value = Guid.NewGuid();  
        }
    }
}